﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateUser.aspx.cs" Inherits="KalikoCMS.Identity.Admin.Identity.CreateUser" MasterPageFile="../Templates/MasterPages/Admin.Master" %>

<%@ Register Src="IdentityMenu.ascx" TagPrefix="admin" TagName="Menu" %>

<asp:Content ContentPlaceHolderID="LeftRegion" runat="server">
  <admin:menu activemenuitem="Users" runat="server" />
</asp:Content>

<asp:Content ContentPlaceHolderID="RightRegion" runat="server">
  <div class="main-area admin-page">
    <div class="page-head">
      <h1>创建用户</h1>
    </div>

    <div class="main-content">
      <div class="inner-container form-horizontal">
        <asp:Literal ID="Feedback" runat="server" />

        <fieldset>
          <asp:Panel ID="FormFields" runat="server">
            <legend>信息内容</legend>

            <div class="form-group">
              <asp:Label AssociatedControlID="UserName" CssClass="control-label col-xs-2" runat="server">用户名</asp:Label>
              <div class="col-xs-10">
                <asp:TextBox ID="UserName" CssClass="form-control" runat="server" />
              </div>
            </div>
            
            <div class="form-group">
              <asp:Label AssociatedControlID="Password" CssClass="control-label col-xs-2" runat="server">密码</asp:Label>
              <div class="col-xs-10">
                <asp:TextBox ID="Password" CssClass="form-control" TextMode="Password" runat="server" />
              </div>
            </div>
                        
            <div class="form-group">
              <asp:Label AssociatedControlID="ConfirmPassword" CssClass="control-label col-xs-2" runat="server">确认密码</asp:Label>
              <div class="col-xs-10">
                <asp:TextBox ID="ConfirmPassword" CssClass="form-control" TextMode="Password" runat="server" />
              </div>
            </div>
            
            <div class="form-group">
              <asp:Label AssociatedControlID="FirstName" CssClass="control-label col-xs-2" runat="server">姓</asp:Label>
              <div class="col-xs-10">
                <asp:TextBox ID="FirstName" CssClass="form-control" runat="server" />
              </div>
            </div>
            
            <div class="form-group">
              <asp:Label AssociatedControlID="SurName" CssClass="control-label col-xs-2" runat="server">名</asp:Label>
              <div class="col-xs-10">
                <asp:TextBox ID="SurName" CssClass="form-control" runat="server" />
              </div>
            </div>
            
            <div class="form-group">
              <asp:Label AssociatedControlID="Email" CssClass="control-label col-xs-2" runat="server">邮箱</asp:Label>
              <div class="col-xs-10">
                <asp:TextBox ID="Email" CssClass="form-control" TextMode="Email" runat="server" />
              </div>
            </div>
            
            <div class="form-group">
              <asp:Label AssociatedControlID="PhoneNumber" CssClass="control-label col-xs-2" runat="server">电话号码</asp:Label>
              <div class="col-xs-10">
                <asp:TextBox ID="PhoneNumber" CssClass="form-control" runat="server" />
              </div>
            </div>
            
            <div class="form-group">
              <asp:Label CssClass="control-label col-xs-2" runat="server">角色</asp:Label>
              <div class="col-xs-10">
                <ul class="list-unstyled">
                  <asp:Literal ID="Roles" runat="server" />
                </ul>
              </div>
            </div>

          </asp:Panel>
          <div class="form-buttons">
            <asp:LinkButton ID="SaveButton" CssClass="btn btn-primary" runat="server"><i class="icon-thumbs-up"></i> 创建用户</asp:LinkButton>
            <a href="Identity/Users.aspx" class="btn btn-default">取消返回</a>
          </div>
        </fieldset>
      </div>
    </div>
  </div>
  <script>
  </script>
</asp:Content>

